/*
 * Filename : DateNode.java
 * Description : **COMPLETE**
 * History  : Date               Engineer       Description
 *            ---------          ------------   --------------------------------
 *            September 14, 2007      waitek         Initial creation.
 */

package com.lct.eq2.data;

import java.text.SimpleDateFormat;
import java.util.Comparator;
import java.util.Date;

public class DateNode extends Date implements Comparator {
    
    /** Creates a new instance of DateNode */
    public DateNode(long time) {
        this.setTime(time);
    }
    
    public String toString() {
        SimpleDateFormat sdf = new SimpleDateFormat("EEEE, MMMM d, yyyy");
        return sdf.format(this);
    }

    public int compare(Object o1, Object o2) {
        int rval = 0;
        
        return rval;
    }
    
}
